import Mock from 'mockjs'
import data from './data.json'

// 商家信息
Mock.mock('/info', { code: 0, info: data.info})
// 商品列表
Mock.mock('/foods', { code: 0, foods: data.goods})
// 评论
Mock.mock('/ratings', { code: 0, ratings: data.ratings }) 